package com.cyf.db.bean;

/**
 * 车场
 * 
 * @author cage
 * 
 */
public class Parking {

	/** 能用优惠券 **/
	public static final int ENABLE_COUPON = 1;
	/** 能用车位预约 **/
	public static final int ENABLE_BOOKING = 1;
	/** 禁用车位预约 **/
	public static final int DISABLE_BOOKING = 2;
	/** 禁用嵌套车场 **/
    public static final int DISABLE_EMBED = 0;
	/** 短信通知昨日收入统计 **/
	public static final int ENABLE_SMS_NOTICE = 1;

	/** 禁用优惠券 **/
	public static final int DISABLE_COUPON = 2;

	/** 车场类型：2-路侧 **/
	public static final int PARKING_TYPE_ROADSIDE = 2;
	public static final int ENABLE_EMBED = 1;

	private Integer id;
	private String name;
	private Integer carport;		// 总车位数
	private Integer foreignCarport;	// 剩余车位数
	private String memo;
	private String macAddress;		// MAC地址，防止不同车场项目名一致

	private String address;	// 车场地址
	private double longitude;			// 经度
	private double latitude;			// 纬度

	private Integer parkingType;    // 车场类型 1-普通固定车场 2-路侧车场
	private Integer allCarport;		//车场总车位数

	private Integer useCoupon;     // 是否使用优惠券

	public Integer getUseCoupon() {
		return useCoupon;
	}

	public void setUseCoupon(Integer useCoupon) {
		this.useCoupon = useCoupon;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getCarport() {
		return carport;
	}

	public void setCarport(Integer carport) {
		this.carport = carport;
	}

	public Integer getForeignCarport() {
		return foreignCarport;
	}

	public void setForeignCarport(Integer foreignCarport) {
		this.foreignCarport = foreignCarport;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getMacAddress() {
		return macAddress;
	}

	public void setMacAddress(String macAddress) {
		this.macAddress = macAddress;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public Integer getParkingType() {
		return parkingType;
	}

	public void setParkingType(Integer parkingType) {
		this.parkingType = parkingType;
	}

	public Integer getAllCarport() {
		return allCarport;
	}

	public void setAllCarport(Integer allCarport) {
		this.allCarport = allCarport;
	}
}
